
#include "elementgroup.h"



ElementGroup::ElementGroup()
: m_boundary( NULL )
{

}


void 
ElementGroup::addElement( Element* _element )
{
  m_elements.push_back( _element );
}


void 
ElementGroup::setBoundary( Boundary* _boundary )
{
  m_boundary = _boundary;
}


vector<Element*> 
ElementGroup::getElements()
{
  return m_elements;
}


Boundary* 
ElementGroup::getBoundary()
{
  return m_boundary;
}
